package com.yhn.bff.driver.feign;

import com.yhn.bff.driver.dto.req.RegisterNewDriverReqDTO;
import com.yhn.hxds.common.model.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author yhn
 * @version 1.0
 * @description
 * @date 2024/9/16 13:08
 */
//@FeignClient(value = "hxds-dr", fallback = DrServiceApiFallback.class)
@FeignClient(value = "hxds-dr")
public interface DrServiceApi {
    @PostMapping("/api/driver/registerNewDriver")
    BaseResponse<String> registerNewDriver(RegisterNewDriverReqDTO requestParam);
}
